Encloses ôJavaScriptö script within a macro.
Syntax:
<script_js>A script source code goes hereà</script_js>
Note: You have to have installed JavaScripts scripting host to be able to run JavaScript scripts. The scripting host is automatically installed with MSIE 4.0 or later.
Example:
<#> This is very simple JavaScript example
<cmds>
<script_js>
function Hello()
{
var WSHShell = WScript.CreateObject("WScript.Shell");
WSHShell.Popup("Hello, this is JavaScript");
}
Hello()
</script_js>